﻿namespace Anmlz.Data.Contracts
{
    using Anmlz.Model.Entities;
    using Anmlz.Model.Model;

    public interface IModelFactory
    {
        Breed Parse(BreedModel model, bool creation = false);
        BreedModel Create(Breed entity);

        CreatureTemperament Parse(CreatureTemperamentModel model, bool creation = false);
        CreatureTemperamentModel Create(CreatureTemperament entity);
        CreatureColor Parse(CreatureColorModel model, bool creation = false);
        Country Parse(CountryModel model, bool creation = false);
        Image Parse(ImageModel model);
        ImageModel Create(Image entity);
    }
}
